package com.youlai.boot.modules.area.model;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "区域商品表单对象")
@Data
public class AreaProductForm {
    private Long id;

    @NotNull(message = "区域ID不能为空")
    private Long areaId;

    @NotNull(message = "商品ID不能为空")
    private Long productId;

    private Integer showFlag;
    private Integer sort;
}